package main

import (
	"sort"
	"fmt"
)

func main() {
	a := []int{3,5,7,8,6,4,2,9,1}
	sort.Ints(a)

	for _, v := range a {
		fmt.Println(v)
	}
}
